package io.renren.service.impl;

import java.util.List;
import java.util.Map;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import io.renren.dao.IndexDao;
import io.renren.entity.Index;
import io.renren.service.IndexService;
@Service("indexService")
public class IndexServiceImpl implements IndexService {
	@Autowired 
	private IndexDao indexDao;
	
	private Logger logger = LoggerFactory.getLogger(getClass());
	@Override
	public List<Index> getCurrentLocationList(Map<String, Object> map) {
		// TODO Auto-generated method stub
		
		return indexDao.getCurrentLocationList(map);
	}
	@Override
	public List<Index> getCurrentCrossList() {
		// TODO Auto-generated method stub
		return indexDao.getCurrentCrossList();
	}
	@Override
	public List<Index> getCurrentDisList() {
		// TODO Auto-generated method stub
		return indexDao.getCurrentDisList();
	}

}
